home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 83 / MacAddict_083_2003-07.iso / mac / Software / Development / VLC Source 0.5.3.dmg / vlc.spec < prev   
Text File  |  2003-04-07  |  36KB  |  1,235 lines

  1. %define name         vlc
  2. %define version     0.5.2
  3. %define rel        1
  4.  
  5. %define    libmajor    0
  6.  
  7. %define cvs         0
  8. %if %{cvs}
  9. %define    cvsrel        1
  10. %define cvsdate     20030127
  11. %define release        0.%{cvsdate}.%{cvsrel}mdk
  12. %define cvs_name     %{name}-snapshot-%cvsdate
  13. %else
  14. %define release     %{rel}mdk
  15. %endif
  16.  
  17. %define with_dvdplay 1
  18.  
  19. %define with_mozilla 1
  20. %define with_gtk 1
  21. %define with_gnome 1
  22. %define with_qt 0
  23. %define with_kde 0
  24. %define with_ncurses 1
  25. %define with_lirc 1
  26. %define    with_wx 0
  27.  
  28. %define with_aa 1
  29. %define with_sdl 1
  30. %define with_ggi 1
  31. %define with_svgalib 0
  32. %define with_xosd 1
  33.  
  34. %define with_mad 1
  35. %define with_ogg 1
  36. %define with_a52 1
  37. %define with_dv 1
  38. %define with_dvb 1
  39. %define    with_ffmpeg 1
  40.  
  41. %define with_esd 1
  42. %define with_arts 1
  43. %define with_alsa 1
  44.  
  45. %define with_slp 1
  46.  
  47. ## but we try to figure out on wich system we are building
  48. %define    buildfor_mdk82    %([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "8.2")}' %{_sysconfdir}/mandrake-release || echo 0)
  49. %define    buildfor_mdk90    %([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "9.0")}' %{_sysconfdir}/mandrake-release || echo 0)
  50. %define    buildfor_mdk91    %([[ -e /etc/mandrake-release ]] && awk '{print ($4 == "9.1")}' %{_sysconfdir}/mandrake-release || echo 0)
  51. # not a mandrake one.
  52. %define buildfor_rh80 %([[ -e /etc/mandrake-release ]] && echo 0 || echo 1)
  53.  
  54. # new macros
  55. %if %buildfor_mdk82 || %buildfor_mdk90 || %buildfor_rh80
  56. %define libname        lib%name%libmajor
  57. %else
  58. %define libname        %mklibname %name %libmajor
  59. %endif
  60.  
  61. %if %buildfor_rh80
  62. %define release %rel
  63. # some mdk macros that do not exist in rh
  64. %define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
  65. %define make %__make
  66. %define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
  67. %define _menudir /usr/lib/menu
  68. %define _iconsdir /usr/share/icons
  69. %define _liconsdir /usr/share/icons/large
  70. %define _miconsdir /usr/share/icons/mini
  71. # adjust define for Redhat.
  72. %define with_ggi 0
  73. %define with_dvb 0
  74. %define with_slp 0
  75. %define with_mozilla 0
  76. %endif
  77.  
  78. # without
  79. %{?_without_mozilla:    %{expand: %%define with_mozilla 0}}
  80. %{?_without_gtk:    %{expand: %%define with_gtk 0}}
  81. %{?_without_gnome:    %{expand: %%define with_gnome 0}}
  82. %{?_without_qt:        %{expand: %%define with_qt 0}}
  83. %{?_without_kde:    %{expand: %%define with_kde 0}}
  84. %{?_without_ncurses:    %{expand: %%define with_ncurses 0}}
  85. %{?_without_lirc:    %{expand: %%define with_lirc 0}}
  86. %{?_without_wx:        %{expand: %%define with_wx 0}}
  87.  
  88. %{?_without_aa:       %{expand: %%define with_aa 0}}
  89. %{?_without_sdl:       %{expand: %%define with_sdl 0}}
  90. %{?_without_ggi:       %{expand: %%define with_ggi 0}}
  91. %{?_without_svgalib:    %{expand: %%define with_svgalib 0}}
  92. %{?_without_xosd:    %{expand: %%define with_xosd 0}}
  93.  
  94. %{?_without_mad:    %{expand: %%define with_mad 0}}
  95. %{?_without_ogg:    %{expand: %%define with_ogg 0}}
  96. %{?_without_a52:    %{expand: %%define with_a52 0}}
  97. %{?_without_dv:        %{expand: %%define with_dv 0}}
  98. %{?_without_dvb:    %{expand: %%define with_dvb 0}}
  99.  
  100. %{?_without_esd:    %{expand: %%define with_esd 0}}
  101. %{?_without_arts:    %{expand: %%define with_arts 0}}
  102. %{?_without_alsa:    %{expand: %%define with_alsa 0}}
  103.  
  104. %{?_without_slp:    %{expand: %%define with_slp 0}}
  105.  
  106. # with
  107. %{?_with_mozilla:        %{expand: %%define with_mozilla 1}}
  108. %{?_with_gtk:        %{expand: %%define with_gtk 1}}
  109. %{?_with_gnome:        %{expand: %%define with_gnome 1}}
  110. %{?_with_qt:        %{expand: %%define with_qt 1}}
  111. %{?_with_kde:        %{expand: %%define with_kde 1}}
  112. %{?_with_ncurses:        %{expand: %%define with_ncurses 1}}
  113. %{?_with_lirc:           %{expand: %%define with_lirc 1}}
  114. %{?_with_wx:        %{expand: %%define with_wx 0}}
  115.  
  116. %{?_with_aa:             %{expand: %%define with_aa 1}}
  117. %{?_with_sdl:            %{expand: %%define with_sdl 1}}
  118. %{?_with_ggi:            %{expand: %%define with_ggi 1}}
  119. %{?_with_svgalib:        %{expand: %%define with_svgalib 1}}
  120. %{?_with_xosd:           %{expand: %%define with_xosd 1}}
  121.  
  122. %{?_with_mad:        %{expand: %%define with_mad 1}}
  123. %{?_with_ogg:            %{expand: %%define with_ogg 1}}
  124. %{?_with_a52:            %{expand: %%define with_a52 1}}
  125. %{?_with_dv:             %{expand: %%define with_dv 1}}
  126. %{?_with_dvb:            %{expand: %%define with_dvb 1}}
  127.  
  128. %{?_with_esd:            %{expand: %%define with_esd 1}}
  129. %{?_with_arts:           %{expand: %%define with_arts 1}}
  130. %{?_with_alsa:           %{expand: %%define with_alsa 1}}
  131.  
  132. %{?_with_slp:        %{expand: %%define with_slp 1}}
  133.  
  134. Summary:    VLC is a free MPEG, MPEG2, DVD and DivX player.
  135. Name:        %{name}
  136. Version:    %{version}
  137. Release:    %{release}
  138. Packager:    Yves Duret <yves@zarb.org>
  139.  
  140. %if %{cvs} 
  141. Source0:    http://www.videolan.org/pub/videolan/vlc/snapshots/%{cvs_name}.tar.bz2
  142. %else
  143. Source0:    http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.bz2
  144. %endif
  145. License:    GPL
  146. Group:        Video
  147. URL:        http://www.videolan.org/
  148. Requires:    vlc-gui
  149. # vlc-mad needed by ffmpeg builtin (i want MPEG4 support out of box)
  150. Requires:    vlc-plugin-mad
  151. # DVD working out of box.
  152. Requires:    vlc-plugin-a52
  153.  
  154. BuildRoot:    %_tmppath/%name-%version-%release-root
  155.  
  156. # for redhat system, NO buildrequires. rh sux
  157. %if !%buildfor_rh80
  158. %if %with_mozilla
  159. Buildrequires:    mozilla-devel
  160. %endif
  161. %if %with_gtk
  162. Buildrequires:    libgtk+1.2-devel
  163. %endif
  164. %if %with_gnome
  165. Buildrequires:    gnome-libs-devel
  166. %endif
  167. %if %with_qt
  168. Buildrequires:    libqt2-devel
  169. %endif
  170. %if %with_kde
  171. Buildrequires:    kdelibs-devel
  172. %endif
  173. %if %with_ncurses
  174. Buildrequires:    libncurses5-devel
  175. %if %with_wx
  176. Buildrequires:    wxGTK-devel
  177. %endif
  178. %if %with_lirc
  179. Buildrequires:    liblirc-devel
  180. %endif
  181. %if %with_aa
  182. Buildrequires:    aalib-devel
  183. %endif
  184. %if %with_sdl
  185. Buildrequires:    SDL-devel
  186. %endif
  187. %if %with_ggi
  188. Buildrequires:    libggi-devel
  189. %endif
  190. %if %with_svgalib
  191. Buildrequires:    svgalib-devel
  192. %endif
  193. %if %with_xosd
  194. Buildrequires:    libxosd2-devel
  195. %endif
  196. %if %with_mad
  197. Buildrequires:    libmad-devel
  198. %endif
  199. %if %with_ogg
  200. Buildrequires:    libvorbis-devel
  201. Buildrequires:    libogg-devel
  202. %endif
  203. %if %with_dv
  204. Buildrequires:    libdv2-devel
  205. %endif
  206.  
  207. %if %with_a52
  208. Buildrequires:    liba52dec-devel
  209. %endif
  210.  
  211. %if %with_ffmpeg
  212. Buildrequires:    libffmpeg-devel
  213. %endif
  214. %if %with_dvdplay
  215. BuildRequires: libdvdplay-devel
  216. %endif
  217. %if %with_dvb
  218. BuildRequires: libdvbpsi-devel
  219. %endif
  220.  
  221. %if %with_alsa
  222. Buildrequires:    libalsa2-devel
  223. %endif
  224. %if %with_esd
  225. Buildrequires:    libesound0-devel
  226. %endif
  227. %if %with_arts
  228. Buildrequires:    libarts-devel
  229. %endif
  230.  
  231. %if %with_slp
  232. Buildrequires:    libopenslp-devel
  233. %endif
  234.  
  235. %endif #no buildrequires for rh systems.
  236.  
  237. %description
  238. VideoLAN is an OpenSource streaming solution for every OS developed by
  239. students from the Ecole Centrale Paris and developers from all over the
  240. World.
  241. VLC (VideoLAN Client) is a media player that can play MPEG1, MPEG2 and
  242. MPEG4 (aka DivX) files, DVDs, VCDs, SVCDs, from a satellite card, from
  243. a stream sent by VLS (VideoLAN Server), from another VLC, or from a Web
  244. server.
  245. You may install vlc-gnome or vlc-gtk to have a nice graphical interface.
  246. This package contains no CSS unscrambling functionality for DVDs ;
  247. you need the libdvdcss library available from 
  248. http://www.videolan.org/libdvdcss/ or http://plf.zarb.org/
  249.  
  250. #general packages
  251. %package -n %libname-devel
  252. Summary: Development files for the VLC media player
  253. Group: Development/C
  254. Requires: %name = %version-%release
  255. Provides: %name-devel = %version-%release
  256. Provides: lib%name-devel = %version-%release
  257. %description -n %libname-devel
  258. Development files for the VLC media player
  259. This package contains headers and a static library required to build plugins
  260. for the VLC media player, or standalone applications using features from VLC.
  261.  
  262. %package -n mozilla-plugin-vlc
  263. Summary: A multimedia plugin for Mozilla, based on vlc
  264. group: Video
  265. Requires: %name = %version-%release
  266. %{expand: %%define mozve %(rpm -q mozilla| sed 's/mozilla-\([0-9].*\)-.*$/\1/')}
  267. Requires: mozilla = %mozve
  268. %description -n mozilla-plugin-vlc
  269. This plugin adds support for MPEG, MPEG2, DVD and DivX to your Mozilla
  270. browser. The decoding process is done by vlc and the output window is
  271. embedded in a webpage or directly in the browser window. There is also
  272. support for fullscreen display.
  273.  
  274.  
  275. # intf plugins
  276. %package -n gvlc
  277. Summary: Gtk plugin for the VLC media player
  278. Group: Video
  279. Requires: %{name} = %{version}
  280. Provides: vlc-gui
  281. %description -n gvlc
  282. This plugin adds a Gtk+ interface to the VLC media player. To
  283. activate it, use the `--intf gtk' flag or run the `gvlc' program.
  284.  
  285. %package -n gnome-vlc
  286. Summary: Gnome plugin for the VLC media player
  287. Group: Video
  288. Requires: %{name} = %{version}
  289. Provides: vlc-gui, vlc-gnome
  290. Obsoletes: vlc-gnome
  291. %description -n gnome-vlc
  292. This plugin adds a Gnome interface to the VLC media player. To
  293. activate it, use the `--intf gnome' flag or run the `gnome-vlc' program.
  294.  
  295. %package -n qvlc
  296. Summary: Qt2 plugin for the VLC media player
  297. Group: Video
  298. Requires: %{name} = %{version}
  299. Provides: vlc-gui, vlc-qt
  300. Obsoletes: vlc-qt
  301. %description -n qvlc
  302. This plugin adds a Qt interface to the VLC media player. To activate it,
  303. use the `--intf qt' flag or run the `qvlc' program.
  304.  
  305. %package -n kvlc
  306. Summary: KDE frontend for the VLC media player
  307. Group: Video
  308. Requires: %{name} = %{version}
  309. Provides: vlc-gui
  310. %description -n kvlc
  311. This plugin adds a KDE interface to the VLC media player. To
  312. activate it, use the `--intf kde' flag or run the `kvlc' program.
  313.  
  314. %package plugin-ncurses
  315. Summary: Ncurses console-based plugin for the VLC media player
  316. Group: Video
  317. Requires: %{name} = %{version}
  318. %description plugin-ncurses
  319. This plugin adds a ncurses interface to the VLC media player. To
  320. activate it, use the `--intf ncurses' flag.
  321.  
  322. %package plugin-lirc
  323. Summary: Lirc plugin for the VLC media player
  324. Group: Video
  325. Requires: %{name} = %{version}
  326. Obsoletes: vlc-lirc
  327. Provides: vlc-lirc
  328. %description plugin-lirc
  329. This plugin is an infrared lirc interface for the VLC media player. To
  330. activate it, use the `--extraintf lirc' flag.
  331.  
  332. %package -n wxvlc
  333. Summary: WxWindow plugin for the VLC media player
  334. Group: Video
  335. Requires: %{name} = %{version}
  336. Obsoletes: vlc-lirc
  337. Provides: vlc-lirc
  338. %description -n wxvlc
  339. This plugin adds a wxWindow interface to the VLC media player. To
  340. activate it, use the `--intf wxwin' flag or run the `wxvlc' program.
  341.  
  342.  
  343. #
  344. # video plugins
  345. %package plugin-aa
  346. Summary: ASCII art video plugin for the VLC media player
  347. Group: Video
  348. Requires: %{name} = %{version}
  349. Obsoletes: vlc-aa
  350. Provides: vlc-aa
  351. %description plugin-aa
  352. This is an ASCII art video output plugin for the VLC media playe. To
  353. activate it, use the `--vout aa' flag or select the `aa' video output
  354. plugin from the preferences menu.
  355.  
  356.  
  357. %package plugin-sdl
  358. Summary: Simple DirectMedia Layer video plugin for the VLC media player
  359. Group: Video
  360. Requires: %{name} = %{version}
  361. Obsoletes: vlc-sdl
  362. Provides: vlc-sdl
  363. %description plugin-sdl
  364. This plugin adds support for the Simple DirectMedia Layer library to
  365. the VLC media player. To activate it, use the `--vout sdl' or
  366. `--aout sdl' flags or select the `sdl' video or audio output plugin
  367. from the preferences menu.
  368.  
  369. %package plugin-ggi
  370. Summary: GGI video plugin for the VLC media player
  371. Group: Video
  372. Requires: %{name} = %{version}
  373. Obsoletes: vlc-ggi
  374. Provides: vlc-ggi
  375. %description plugin-ggi
  376. This is a GGI plugin for the VLC media player. To activate it, use
  377. the `--vout ggi' flag or select the `ggi' video output plugin from
  378. the preferences menu.
  379.  
  380. %package plugin-svgalib
  381. Summary: SVGAlib video plugin for the VLC media player
  382. Group: Video
  383. Requires: %{name} = %{version}
  384. %description plugin-svgalib
  385. This plugin adds support for SVGAlib to the VLC media player. To
  386. activate it, use the `--vout svgalib' flag or select the `svgalib' video
  387. output plugin from the preferences menu. Note that you will need root
  388. permissions to use SVGAlib.
  389.  
  390.  
  391. #
  392. # visualization plugins
  393. %package plugin-xosd
  394. Summary: X On-Screen Display plugin for the VLC media player
  395. Group: Video
  396. Requires: %{name} = %{version}
  397. %description plugin-xosd
  398. This is an On-Screen Display plugin for the VLC media player. To activate
  399. it, use the `--extraintf xosd' flag or select the `xosd' interface plugin
  400. from the preferences menu.
  401.  
  402. # codec plugins
  403. %package plugin-mad
  404. Summary: MAD audio codec plugin for the VLC media player
  405. Group: Video
  406. Requires: %{name} = %{version}
  407. Obsoletes: vlc-mad
  408. Provides: vlc-mad
  409. %description plugin-mad
  410. This plugin adds support for libmad, the MPEG audio decoder library,
  411. to the VLC media player. MAD is 100% fixed-point based. To activate
  412. this plugin, use the `--mpeg_adec mad' flag or select the `mad' MPEG
  413. decoder from the preferences menu.
  414.  
  415. %package plugin-ogg
  416. Summary: Ogg demuxer and Vorbis codec plugin for the VLC media player
  417. Group: Video
  418. Requires: %{name} = %{version}
  419. %description plugin-ogg
  420. These plugins add support for the Ogg bitstream format and the Ogg Vorbis
  421. compressed audio format to the VLC media player. They are autodetected.
  422.  
  423. %package plugin-a52
  424. Summary: A-52 (AC-3) codec plugin for the VLC media player
  425. Group: Video
  426. Requires: %{name} = %{version}
  427. %description plugin-a52
  428. This plugin adds support for the ATSC A-52 (aka. AC-3) audio format to
  429. the VLC media player. The plugin is autodetected.
  430.  
  431. %package plugin-dv
  432. Summary: DV codec plugin for the VLC media player
  433. Group: Video
  434. Requires: %{name} = %{version}
  435. %description plugin-dv
  436. This plugin adds support for the DV video format to the VLC media player.
  437. The plugin is autodetected.
  438.  
  439. #
  440. # input plugins
  441. %package plugin-dvb
  442. Summary: DVB input plugin for the VLC media player
  443. Group: Video
  444. Requires: %{name} = %{version}
  445. %description plugin-dvb
  446. This plugin adds support for DVB cards to the VLC media player. Note
  447. that your card needs to be supported by your kernel before vlc can use it.
  448.  
  449. #
  450. # audio plugins
  451. %package plugin-esd
  452. Summary: Enlightened Sound Daemon audio plugin for the VLC media player
  453. Group: Video
  454. Requires: %{name} = %{version}
  455. Obsoletes: vlc-esd
  456. Provides: vlc-esd
  457. %description plugin-esd
  458. This plugin adds support for the Enlightened Sound Daemon to the VLC
  459. media player. To activate it, use the `--aout esd' flag or select the
  460. `esd' audio output plugin from the preferences menu.
  461.  
  462. %package plugin-arts
  463. Summary: aRts audio plugin for the VLC media player
  464. Group: Video
  465. Requires: %{name} = %{version}
  466. Obsoletes: vlc-arts
  467. Provides: vlc-arts
  468. %description plugin-arts
  469. This plugin adds support for the aRts Sound System to the VLC media
  470. player. To activate it, use the `--aout arts' flag or select the `arts'
  471. audio output plugin from the preferences menu.
  472.  
  473. %package plugin-alsa
  474. Summary: Advanced Linux Sound Architecture audio plugin for the VLC media player
  475. Group: Video
  476. Requires: %{name} = %{version}
  477. Obsoletes: vlc-alsa
  478. Provides: vlc-alsa
  479. %description plugin-alsa
  480. This plugin adds support for the Advanced Linux Sound Architecture to
  481. the VLC media player. To activate it, use the `--aout alsa' flag or
  482. select the `alsa' audio output plugin from the preferences menu.
  483.  
  484.  
  485. %package plugin-slp
  486. Summary: Service Location Protocol acces plugin for the VLC media player
  487. Group: Video
  488. Requires: %{name} = %{version}
  489. %description plugin-slp
  490. This plugin adds support for the Service Location Protocol to
  491. the VLC media player.
  492.  
  493.  
  494. %prep
  495. %if %{cvs}
  496. %setup -q -n %{cvs_name}
  497. %else
  498. %setup -q 
  499. %endif
  500.  
  501. %build
  502. # yves 0.4.0-1mdk
  503. # ffmpeg: static linking cause no official ffmpeg release with a stable ABI
  504. # ffmpeg:no plugin posible on ia64 due to the static linking (can not put .a in a .so)
  505. %if %with_mozilla
  506. %define moz_ver 1.3a
  507. export XPIDL=/usr/lib/mozilla-%moz_ver/xpidl
  508. perl -pi -e  's#-I/usr/share/idl/mozilla#-I/usr/share/idl/mozilla-1.3a#' Makefile.in
  509. %endif
  510. export QTDIR=%{_libdir}/qt3
  511. # mandrake kernel specific
  512. export CPPFLAGS="${CPPFLAGS:--I/usr/src/linux/3rdparty/mod_dvb/include}"
  513. # NO empty line or comments for the configure --switch or it won't work.
  514. %configure2_5x  --enable-release \
  515.     --enable-dvd --without-dvdcss \
  516. %if %with_dvdplay
  517.     --enable-dvdplay \
  518. %else
  519.     --disable-dvdplay \
  520. %endif
  521. %if %with_mozilla
  522.     --enable-mozilla \
  523. %else
  524.     --disable-mozilla \
  525. %endif
  526. %if %with_gtk
  527.     --enable-gtk \
  528. %else
  529.     --disable-gtk \
  530. %endif
  531. %if %with_gnome
  532.     --enable-gnome \
  533. %else
  534.     --disable-gnome \
  535. %endif
  536. %if %with_qt
  537.     --enable-qt \
  538. %endif
  539. %if %with_kde
  540.     --enable-kde \
  541. %endif
  542. %if %with_ncurses
  543.     --enable-ncurses \
  544. %endif
  545. %if %with_lirc
  546.     --enable-lirc \
  547. %endif
  548. %if %with_wx
  549.     --enable-wxwindows \
  550. %else 
  551.     --disable-wxwindows \
  552. %endif
  553.     --enable-x11 --enable-xvideo \
  554.     --enable-fb --disable-mga \
  555. %if %with_aa
  556.     --enable-aa \
  557. %endif
  558. %if %with_sdl
  559.     --enable-sdl \
  560. %endif
  561. %if %with_ggi
  562.     --enable-ggi \
  563. %endif
  564. %if %with_svgalib
  565.         --enable-svgalib \
  566. %endif
  567. %if %with_xosd
  568.     --enable-xosd \
  569. %else
  570.     --disable-xosd \
  571. %endif
  572. %if %with_mad
  573.         --enable-mad \
  574. %endif  
  575. %if %with_ffmpeg
  576.         --enable-ffmpeg --with-ffmpeg=/usr --with-ffmpeg-tree=/usr/lib \
  577. %else
  578.         --disable-ffmpeg \
  579. %endif
  580. %if %with_ogg
  581.     --enable-vorbis \
  582.     --enable-ogg \
  583. %else
  584.     --disable-vorbis \
  585.     --disable-ogg \
  586. %endif
  587. %if %with_dv
  588.     --enable-dv \
  589. %else
  590.     --disable-dv \
  591. %endif
  592. %if %with_dvb
  593.     --enable-dvb  --enable-dvbpsi --enable-satellite \
  594. %else
  595.     --disable-dvb  --disable-dvbpsi --disable-satellite \
  596. %endif
  597. %if %with_esd
  598.     --enable-esd \
  599. %endif
  600. %if %with_alsa
  601.     --enable-alsa \
  602. %endif
  603. %if %with_arts
  604.     --enable-arts \
  605. %endif
  606.  
  607. %make
  608.  
  609. %install
  610. rm -fr %buildroot
  611. %makeinstall_std
  612. %find_lang %name
  613. install -d %buildroot/%_mandir/man1
  614. install doc/vlc.1 %buildroot/%_mandir/man1
  615. install doc/vlc-config.1 %buildroot/%_mandir/man1
  616.  
  617. # menu
  618. mkdir -p %buildroot/%_menudir
  619. cat > %buildroot/%_menudir/vlc << EOF
  620. ?package(vlc): command="%_bindir/vlc" hotkey="V" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC media player" icon="vlc.png" hints="Video"
  621. EOF
  622. %if %with_gtk
  623. cat > %buildroot/%_menudir/gvlc << EOF
  624. ?package(gvlc): command="%_bindir/gvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gtk media player" icon="gvlc.png" hints="Video"
  625. EOF
  626. %endif
  627. %if %with_gnome
  628. cat > %buildroot/%_menudir/gnome-vlc << EOF
  629. ?package(gnome-vlc): command="%_bindir/gnome-vlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Gnome media player" icon="gnome-vlc.png" hints="Video"
  630. EOF
  631. %endif
  632. %if %with_qt
  633. cat > %buildroot/%_menudir/qvlc << EOF
  634. ?package(qvlc): command="%_bindir/qvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC Qt media player" icon="qvlc.png" hints="Video"
  635. EOF
  636. %endif
  637. %if %with_kde
  638. cat > %buildroot/%_menudir/kvlc << EOF
  639. ?package(kvlc): command="%_bindir/kvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC KDE media player" icon="kvlc.png" hints="Video"
  640. EOF
  641. %endif
  642. %if %with_wx
  643. ?package(wxvlc): command="%_bindir/wxvlc" needs="X11" longtitle="VLC is a free MPEG, MPEG2, DVD and DivX player" section="Multimedia/Video" title="VLC wxWindow media player" icon="vlc.png" hints="Video"
  644. %endif
  645.  
  646. # icons
  647. %define pngdir %buildroot/%_datadir/vlc
  648. mkdir -p %{buildroot}/{%{_miconsdir},%{_liconsdir}}
  649. install -m 644 %pngdir/vlc16x16.png %buildroot/%_miconsdir/vlc.png
  650. install -m 644 %pngdir/vlc32x32.png %buildroot/%_iconsdir/vlc.png
  651. install -m 644 %pngdir/vlc48x48.png %buildroot/%_liconsdir/vlc.png
  652. %if %with_gnome
  653. install -m 644 %pngdir/gnome-vlc16x16.png %buildroot/%_miconsdir/gnome-vlc.png
  654. install -m 644 %pngdir/gnome-vlc32x32.png %buildroot/%_iconsdir/gnome-vlc.png
  655. install -m 644 %pngdir/gnome-vlc48x48.png %buildroot/%_liconsdir/gnome-vlc.png
  656. %endif
  657. %if %with_gtk
  658. install -m 644 %pngdir/gvlc16x16.png %buildroot/%_miconsdir/gvlc.png
  659. install -m 644 %pngdir/gvlc32x32.png %buildroot/%_iconsdir/gvlc.png
  660. install -m 644 %pngdir/gvlc48x48.png %buildroot/%_liconsdir/gvlc.png
  661. %endif
  662. %if %with_kde
  663. install -m 644 %pngdir/kvlc16x16.png %buildroot/%_miconsdir/kvlc.png
  664. install -m 644 %pngdir/kvlc32x32.png %buildroot/%_iconsdir/kvlc.png
  665. install -m 644 %pngdir/kvlc48x48.png %buildroot/%_liconsdir/kvlc.png
  666. %endif
  667. %if %with_qt
  668. install -m 644 %pngdir/qvlc16x16.png %buildroot/%_miconsdir/qvlc.png
  669. install -m 644 %pngdir/qvlc32x32.png %buildroot/%_iconsdir/qvlc.png
  670. install -m 644 %pngdir/qvlc48x48.png %buildroot/%_liconsdir/qvlc.png
  671. %endif
  672.  
  673. #rpm (>= 4.0.4-20mdk) now checks for installed (but unpackaged) files
  674. rm -f %pngdir/*
  675. %if %buildfor_rh80
  676. rm -fr %buildroot/%_menudir
  677. rm -fr %buildroot/%_iconsdir
  678. %endif
  679.  
  680. %if !%buildfor_rh80
  681. %post
  682. %update_menus
  683. %postun
  684. %clean_menus
  685. %endif
  686.  
  687. %clean
  688. rm -fr %buildroot
  689.  
  690. %files -f %name.lang
  691. %defattr(-,root,root)
  692. %doc NEWS README COPYING AUTHORS MAINTAINERS THANKS
  693. %_bindir/vlc
  694.  
  695. %dir %_libdir/vlc
  696.  
  697. %dir %_libdir/vlc/access
  698. %_libdir/vlc/access/libaccess_file_plugin.so
  699. %_libdir/vlc/access/libaccess_ftp_plugin.so
  700. %_libdir/vlc/access/libaccess_http_plugin.so
  701. %_libdir/vlc/access/libaccess_mms_plugin.so
  702. %_libdir/vlc/access/libaccess_udp_plugin.so
  703. %if %with_dvdplay
  704. %_libdir/vlc/access/libdvdplay_plugin.so
  705. %endif
  706. %_libdir/vlc/access/libdvd_plugin.so
  707. %_libdir/vlc/access/libdvdread_plugin.so
  708. %_libdir/vlc/access/libvcd_plugin.so
  709.  
  710. %dir %_libdir/vlc/access_output/
  711. %_libdir/vlc/access_output/libaccess_output_dummy_plugin.so
  712. %_libdir/vlc/access_output/libaccess_output_file_plugin.so
  713. %_libdir/vlc/access_output/libaccess_output_udp_plugin.so
  714.  
  715. %dir %_libdir/vlc/audio_filter
  716. %_libdir/vlc/audio_filter/libfixed32tofloat32_plugin.so
  717. %_libdir/vlc/audio_filter/libfixed32tos16_plugin.so
  718. %_libdir/vlc/audio_filter/libfloat32tos16_plugin.so
  719. %_libdir/vlc/audio_filter/libfloat32tos8_plugin.so
  720. %_libdir/vlc/audio_filter/libfloat32tou16_plugin.so
  721. %_libdir/vlc/audio_filter/libfloat32tou8_plugin.so
  722. %_libdir/vlc/audio_filter/libheadphone_channel_mixer_plugin.so
  723. %_libdir/vlc/audio_filter/liblinear_resampler_plugin.so
  724. %_libdir/vlc/audio_filter/libs16tofloat32_plugin.so
  725. %_libdir/vlc/audio_filter/libs16tofloat32swab_plugin.so
  726. %_libdir/vlc/audio_filter/libs8tofloat32_plugin.so
  727. %_libdir/vlc/audio_filter/libtrivial_channel_mixer_plugin.so
  728. %_libdir/vlc/audio_filter/libtrivial_resampler_plugin.so
  729. %_libdir/vlc/audio_filter/libu8tofixed32_plugin.so
  730. %_libdir/vlc/audio_filter/libu8tofloat32_plugin.so
  731. %_libdir/vlc/audio_filter/libugly_resampler_plugin.so
  732.  
  733. %dir %_libdir/vlc/audio_mixer
  734. %_libdir/vlc/audio_mixer/libfloat32_mixer_plugin.so
  735. %_libdir/vlc/audio_mixer/libspdif_mixer_plugin.so
  736. %_libdir/vlc/audio_mixer/libtrivial_mixer_plugin.so
  737.  
  738. %dir %_libdir/vlc/audio_output
  739. %_libdir/vlc/audio_output/libaout_file_plugin.so
  740. %_libdir/vlc/audio_output/liboss_plugin.so
  741.  
  742. %dir %_libdir/vlc/codec
  743. %_libdir/vlc/codec/liba52_plugin.so
  744. %_libdir/vlc/codec/libadpcm_plugin.so
  745. %_libdir/vlc/codec/libaraw_plugin.so
  746. %_libdir/vlc/codec/libcinepak_plugin.so
  747. %_libdir/vlc/codec/libidctclassic_plugin.so
  748. %ifarch %ix86
  749. %_libdir/vlc/codec/libidctmmxext_plugin.so
  750. %_libdir/vlc/codec/libidctmmx_plugin.so
  751. %endif
  752. %_libdir/vlc/codec/libidct_plugin.so
  753. %_libdir/vlc/codec/liblpcm_plugin.so
  754. %ifarch %ix86
  755. %_libdir/vlc/codec/libmotionmmxext_plugin.so
  756. %_libdir/vlc/codec/libmotionmmx_plugin.so
  757. %endif
  758. %_libdir/vlc/codec/libmotion_plugin.so
  759. %_libdir/vlc/codec/libmpeg_audio_plugin.so
  760. %_libdir/vlc/codec/libmpeg_video_plugin.so
  761. %if %with_ffmpeg
  762. %_libdir/vlc/codec/libpostprocessing_c_plugin.so
  763.     %ifarch %ix86
  764.     %_libdir/vlc/codec/libpostprocessing_mmx_plugin.so
  765.     %_libdir/vlc/codec/libpostprocessing_mmxext_plugin.so
  766.     %endif
  767. %endif
  768. %_libdir/vlc/codec/libspudec_plugin.so
  769.  
  770. %dir %_libdir/vlc/control
  771. %_libdir/vlc/control/librc_plugin.so
  772.  
  773. %dir %_libdir/vlc/demux
  774. %_libdir/vlc/demux/libaac_plugin.so
  775. %_libdir/vlc/demux/libasf_plugin.so
  776. %_libdir/vlc/demux/libaudio_plugin.so
  777. %_libdir/vlc/demux/libavi_plugin.so
  778. %_libdir/vlc/demux/liba52sys_plugin.so
  779. %_libdir/vlc/demux/libdemuxdump_plugin.so
  780. %_libdir/vlc/demux/libdemuxsub_plugin.so
  781. %_libdir/vlc/demux/libes_plugin.so
  782. %_libdir/vlc/demux/libid3_plugin.so
  783. %_libdir/vlc/demux/libm3u_plugin.so
  784. %_libdir/vlc/demux/libm4v_plugin.so
  785. %_libdir/vlc/demux/libmp4_plugin.so
  786. %_libdir/vlc/demux/libmpeg_system_plugin.so
  787. %_libdir/vlc/demux/libps_plugin.so
  788. %_libdir/vlc/demux/librawdv_plugin.so
  789. %_libdir/vlc/demux/libts_plugin.so
  790. %_libdir/vlc/demux/libwav_plugin.so
  791.  
  792. %dir %_libdir/vlc/misc
  793. %_libdir/vlc/misc/libdummy_plugin.so
  794. %_libdir/vlc/misc/libipv4_plugin.so
  795. %_libdir/vlc/misc/libipv6_plugin.so
  796. %_libdir/vlc/misc/liblogger_plugin.so
  797. %ifarch %ix86
  798. %_libdir/vlc/misc/libmemcpy3dn_plugin.so
  799. %_libdir/vlc/misc/libmemcpymmxext_plugin.so
  800. %_libdir/vlc/misc/libmemcpymmx_plugin.so
  801. %endif
  802. %_libdir/vlc/misc/libmemcpy_plugin.so
  803. %_libdir/vlc/misc/libsap_plugin.so
  804.  
  805. %dir %_libdir/vlc/mux
  806. %_libdir/vlc/mux/libmux_avi_plugin.so
  807. %_libdir/vlc/mux/libmux_dummy_plugin.so
  808. %_libdir/vlc/mux/libmux_ps_plugin.so
  809. %_libdir/vlc/mux/libmux_ts_plugin.so
  810.  
  811. %dir %_libdir/vlc/packetizer
  812. %_libdir/vlc/packetizer/libpacketizer_a52_plugin.so
  813. %_libdir/vlc/packetizer/libpacketizer_copy_plugin.so
  814. %_libdir/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so
  815. %_libdir/vlc/packetizer/libpacketizer_mpeg4video_plugin.so
  816. %_libdir/vlc/packetizer/libpacketizer_mpegaudio_plugin.so
  817. %_libdir/vlc/packetizer/libpacketizer_mpegvideo_plugin.so
  818.  
  819. %dir %_libdir/vlc/video_chroma
  820. %_libdir/vlc/video_chroma/libi420_rgb_plugin.so
  821. %_libdir/vlc/video_chroma/libi420_ymga_plugin.so
  822. %_libdir/vlc/video_chroma/libi420_yuy2_plugin.so
  823. %_libdir/vlc/video_chroma/libi422_yuy2_plugin.so
  824. %ifarch %ix86
  825. %_libdir/vlc/video_chroma/libi420_rgb_mmx_plugin.so
  826. %_libdir/vlc/video_chroma/libi420_ymga_mmx_plugin.so
  827. %_libdir/vlc/video_chroma/libi420_yuy2_mmx_plugin.so
  828. %_libdir/vlc/video_chroma/libi422_yuy2_mmx_plugin.so
  829. %endif
  830.  
  831. %dir %_libdir/vlc/video_filter
  832. %_libdir/vlc/video_filter/libadjust_plugin.so
  833. %_libdir/vlc/video_filter/libclone_plugin.so
  834. %_libdir/vlc/video_filter/libcrop_plugin.so
  835. %_libdir/vlc/video_filter/libdeinterlace_plugin.so
  836. %_libdir/vlc/video_filter/libdistort_plugin.so
  837. %_libdir/vlc/video_filter/libinvert_plugin.so
  838. %_libdir/vlc/video_filter/libmotionblur_plugin.so
  839. %_libdir/vlc/video_filter/libtransform_plugin.so
  840. %_libdir/vlc/video_filter/libwall_plugin.so
  841.  
  842. %dir %_libdir/vlc/video_output
  843. %_libdir/vlc/video_output/libfb_plugin.so
  844. %_libdir/vlc/video_output/libvout_encoder_plugin.so
  845. %_libdir/vlc/video_output/libx11_plugin.so
  846. %_libdir/vlc/video_output/libxvideo_plugin.so
  847.  
  848. %dir %_libdir/vlc/visualization
  849.  
  850. %_mandir/man1/vlc.*
  851. %if !%buildfor_rh80
  852. %_menudir/vlc
  853. %_miconsdir/vlc.png
  854. %_iconsdir/vlc.png
  855. %_liconsdir/vlc.png
  856. %endif
  857.  
  858. %files -n %libname-devel
  859. %defattr(-,root,root)
  860. %doc README
  861. %dir %_includedir/vlc
  862. %_includedir/vlc/*
  863. %_libdir/*a
  864. %_libdir/vlc/*a
  865. %_bindir/vlc-config
  866. %_mandir/man1/vlc-config*
  867.  
  868. %if %with_mozilla
  869. %files -n mozilla-plugin-vlc
  870. %defattr(-,root,root)
  871. %doc README
  872. %_libdir/mozilla/*/*
  873. %endif
  874.  
  875. # intf plugins
  876. %if %with_gtk
  877. %files -n gvlc
  878. %defattr(-,root,root)
  879. %doc README
  880. %_libdir/vlc/misc/libgtk_main_plugin.so
  881. %_libdir/vlc/gui/libgtk_plugin.so
  882. %_bindir/gvlc
  883. %if !%buildfor_rh80
  884. %_menudir/gvlc
  885. %_miconsdir/gvlc.png
  886. %_iconsdir/gvlc.png
  887. %_liconsdir/gvlc.png
  888. %post -n gvlc
  889. %update_menus
  890. %postun -n gvlc
  891. %clean_menus
  892. %endif
  893. %endif
  894.  
  895. %if %with_gnome
  896. %files -n gnome-vlc
  897. %defattr(-,root,root)
  898. %doc README
  899. %_libdir/vlc/misc/libgnome_main_plugin.so
  900. %_libdir/vlc/gui/libgnome_plugin.so
  901. %_bindir/gnome-vlc
  902. %if !%buildfor_rh80
  903. %_menudir/gnome-vlc
  904. %_miconsdir/gnome-vlc.png
  905. %_iconsdir/gnome-vlc.png
  906. %_liconsdir/gnome-vlc.png
  907. %post   -n gnome-vlc
  908. %update_menus
  909. %postun -n gnome-vlc
  910. %clean_menus
  911. %endif
  912. %endif
  913.  
  914. %if %with_qt
  915. %files -n qvlc
  916. %defattr(-,root,root)
  917. %doc README
  918. %_libdir/vlc/gui/libqt_plugin.so
  919. %_bindir/qvlc
  920. %if !%buildfor_rh80
  921. %_menudir/qvlc
  922. %_miconsdir/qvlc.png
  923. %_iconsdir/qvlc.png
  924. %_liconsdir/qvlc.png
  925. %post   -n qvlc
  926. %update_menus
  927. %postun -n qvlc
  928. %clean_menus
  929. %endif
  930. %endif
  931.  
  932. %if %with_kde
  933. %files -n kvlc
  934. %doc README
  935. %_libdir/vlc/gui/libkde_plugin.so
  936. %_bindir/kvlc
  937. %if !%buildfor_rh80
  938. %_menudir/kvlc
  939. %_miconsdir/kvlc.png
  940. %_iconsdir/kvlc.png
  941. %_liconsdir/kvlc.png
  942. %post   -n kvlc
  943. %update_menus
  944. %postun -n kvlc
  945. %clean_menus
  946. %endif
  947. %endif
  948.  
  949. %if %with_ncurses
  950. %files plugin-ncurses
  951. %defattr(-,root,root)
  952. %doc README
  953. %_libdir/vlc/gui/libncurses_plugin.so
  954. %endif
  955.  
  956. %if %with_lirc
  957. %files plugin-lirc
  958. %defattr(-,root,root)
  959. %doc README
  960. %_libdir/vlc/control/liblirc_plugin.so
  961. %endif
  962.  
  963. # video plugins
  964. %if %with_sdl
  965. %files plugin-sdl
  966. %defattr(-,root,root)
  967. %doc README
  968. %_libdir/vlc/audio_output/libaout_sdl_plugin.so
  969. %_libdir/vlc/video_output/libvout_sdl_plugin.so
  970. %endif
  971.  
  972. %if %with_ggi
  973. %files plugin-ggi
  974. %defattr(-,root,root)
  975. %doc README
  976. %{_libdir}/vlc/video_output/libggi_plugin.so
  977. %endif
  978.  
  979. %if %with_aa
  980. %files plugin-aa
  981. %defattr(-,root,root)
  982. %doc README
  983. %{_libdir}/vlc/video_output/libaa_plugin.so
  984. %endif
  985.  
  986. %if %with_svgalib
  987. %files plugin-svgalib
  988. %defattr(-,root,root)
  989. %doc README
  990. %_libdir/vlc/video_output/libsvgalib_plugin.so
  991. %endif
  992.  
  993. # visualization plugin
  994. %if %with_xosd
  995. %files plugin-xosd
  996. %defattr(-,root,root)
  997. %doc README
  998. %_libdir/vlc/visualization/libxosd_plugin.so
  999. %endif
  1000.  
  1001. # codec plugin
  1002. %if %with_mad
  1003. %files plugin-mad
  1004. %defattr(-,root,root)
  1005. %doc README
  1006. %_libdir/vlc/audio_filter/libmpgatofixed32_plugin.so
  1007. %_libdir/vlc/demux/libid3tag_plugin.so
  1008. %endif
  1009.  
  1010. %if %with_ogg
  1011. %files plugin-ogg
  1012. %defattr(-,root,root)
  1013. %doc README
  1014. %_libdir/vlc/demux/libogg_plugin.so
  1015. %_libdir/vlc/codec/libvorbis_plugin.so
  1016. %endif
  1017.  
  1018. %if %with_dv
  1019. %files plugin-dv
  1020. %defattr(-,root,root)
  1021. %doc README
  1022. %_libdir/vlc/codec/libdv_plugin.so
  1023. %endif
  1024.  
  1025. %if %with_a52
  1026. %files plugin-a52
  1027. %defattr(-,root,root)
  1028. %doc README
  1029. %_libdir/vlc/audio_filter/liba52tofloat32_plugin.so
  1030. %_libdir/vlc/audio_filter/liba52tospdif_plugin.so
  1031. %endif
  1032.  
  1033. # input plugin
  1034. %if %with_dvb
  1035. %files plugin-dvb
  1036. %defattr(-,root,root)
  1037. %doc README
  1038. %_libdir/vlc/access/libsatellite_plugin.so
  1039. %_libdir/vlc/demux/libts_dvbpsi_plugin.so
  1040. %_libdir/vlc/mux/libmux_ts_dvbpsi_plugin.so
  1041. %endif
  1042.  
  1043. #audio plugins
  1044. %if %with_esd
  1045. %files plugin-esd
  1046. %defattr(-,root,root)
  1047. %doc README
  1048. %_libdir/vlc/audio_output/libesd_plugin.so
  1049. %endif
  1050.  
  1051. %if %with_arts
  1052. %files plugin-arts
  1053. %defattr(-,root,root)
  1054. %doc README
  1055. %_libdir/vlc/audio_output/libarts_plugin.so
  1056. %endif
  1057.  
  1058. %if %with_alsa
  1059. %files plugin-alsa
  1060. %defattr(-,root,root)
  1061. %doc README
  1062. %_libdir/vlc/audio_output/libalsa_plugin.so
  1063. %endif
  1064.  
  1065. %if %with_slp
  1066. %files plugin-slp
  1067. %defattr(-,root,root)
  1068. %doc README
  1069. %_libdir/vlc/access/libslp_plugin.so
  1070. %endif
  1071.  
  1072. %changelog
  1073. * Sat Feb 01 2003 Yves Duret <yves@zarb.org> 0.5.0-1mdk
  1074. - new upstream release.
  1075.  
  1076. * Mon Jun 20 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.2-1mdk
  1077. - new upstream release
  1078.  
  1079. * Mon Jun 3 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.1-1mdk
  1080. - new upstream release
  1081.  
  1082. * Thu May 23 2002 Yves Duret <yduret@mandrakesoft.com> 0.4.0-1mdk
  1083. - version 0.4.0 with MPEG4 (DivX) support thx ffmpeg.
  1084.   thus s/MPEG, MPEG2 and DVD/multimedia/g
  1085. - sync %%description with debian ones.
  1086. - vlc now requires a vlc-gui (gtk, gnome or qt).
  1087. - removed gcc3.1 patches since merged upstream.
  1088.  
  1089. * Mon May 13 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-4mdk
  1090. - removed xmga plugin (currently broken).
  1091. - manual rebuild in gcc3.1 environment aka added Patch0 & Patch1
  1092. - various summary/description changes.
  1093.  
  1094. * Fri May 03 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-3mdk
  1095. - added vlc-lirc intf plugin rpm.
  1096.  
  1097. * Tue Apr 30 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-2mdk
  1098. - rebuild against libalsa2 (vlc-sdl)
  1099.  
  1100. * Fri Apr 19 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.1-1mdk
  1101. - version 0.3.1.
  1102. - removed patch0 merged upstream.
  1103. - removed old %%ifarch ppc
  1104. - added missing libmad-devel buldrequires
  1105.  
  1106. * Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-4mdk
  1107. - added liba52 support (buildrequires).
  1108. - added vlc-alsa audio plugin.
  1109. - mad is a codec (audio) plugin. corrected description and summary.
  1110.  
  1111. * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-3mdk
  1112. - added patch0 from CVS: fix crashing GTK popup menus thx Michal Bukovjan <bukovjan@mbox.dkm.cz>
  1113.  
  1114. * Wed Apr 10 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-2mdk
  1115. - added vlc-arts rpm plugin thx blindauer Emmanuel <manu@agat.net>
  1116. - better summary for plugin
  1117. - add packager tag to myself
  1118.  
  1119. * Sun Apr 07 2002 Yves Duret <yduret@mandrakesoft.com> 0.3.0-1mdk
  1120. - version 0.3.0
  1121. - added aa (Asci Art) plugin in vlc-aa rpm
  1122. - merged with sam's one:
  1123.   * using his plugins list into %%files
  1124.   * removed libdvdcss from the whole tarball.
  1125.   * removed the workaround for vlc's bad /dev/dsp detection.
  1126. - few spell corrections in all %%description
  1127. - added buildrequires on SDL-devel
  1128.  
  1129. * Tue Mar 05 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.93-0.1mdk
  1130. - new cvs snapshot
  1131. - fix requires
  1132.  
  1133. * Mon Mar 04 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-5mdk
  1134. - cvs snapshot
  1135.  
  1136. * Sat Jan 26 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-4mdk
  1137. - mad plugin in vlc-mad rpm
  1138.  
  1139. * Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-3mdk
  1140. - synced with main cvs specfile wich "fixed a few minor inaccuracies"
  1141.  
  1142. * Thu Jan 17 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-2mdk
  1143. - readded libdvdcss rpm in specfile. use %%define css 1 with correct sources
  1144.   to build libdvdcss rpm.
  1145.  
  1146. * Wed Jan 09 2002 Yves Duret <yduret@mandrakesoft.com> 0.2.92-1mdk
  1147. - version 0.2.92
  1148. - %%makeinstall_std
  1149. - splitted again, added vlc-sdl vlc-esd vlc-ggi
  1150. - bring back some missing plugins
  1151. - fixed buildrequires
  1152. - added menu entries and icons (from cvs)
  1153.  
  1154. * Tue Oct 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-2mdk
  1155. - rebuild against libpng3
  1156. - added some doc for sir rpmlint
  1157. - #5583: option -g
  1158.  
  1159. * Thu Aug 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.83-1mdk
  1160. - version 0.2.83 : 
  1161.   * Activated subtitles in overlay mode (far from perfect, but this
  1162.     was an often requested feature).
  1163.  
  1164. * Fri Aug 10 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.82-1mdk
  1165. - version 0.2.82
  1166.  
  1167. * Mon Jul 30 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-1mdk
  1168. - version 0.2.81
  1169. - added vlc-ncurses
  1170.  
  1171. * Wed Jun 20 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.81-0.20010619-1mdk
  1172. - cvs snapshot
  1173. - added libdvdcss
  1174.  
  1175. * Wed Jun 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-2mdk
  1176. - fix build on ppc (c) dadou
  1177.  
  1178. * Mon Jun 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.80-1mdk
  1179. - version 0.2.80 : bug fixes and bug fixes and bug fixes and small
  1180.   improvements of the gtk interface.
  1181. - corrected Summary in vlc-qt
  1182.  
  1183. * Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-2mdk
  1184. - added qt2 plugin (vlc-qt)
  1185.  
  1186. * Wed May 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.73-1mdk
  1187. - version 0.2.73
  1188. - you can now get decss threw a plugin
  1189. - rewritte srcipt to build vlc (decss plugin)
  1190. - rebuild with SDL 1.2
  1191.  
  1192. * Thu Apr 26 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-2mdk
  1193. - true 0.2.72
  1194.  
  1195. * Mon Apr 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.72-1mdk
  1196. - version 0.2.72
  1197. - package split into vlc, vlc-gnome, vlc-gtk
  1198.  
  1199. * Fri Apr 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.71-1mdk
  1200. - version 0.2.71 :
  1201.   * Fixed segfaults when compiled with gcc 3.0pre and versions of gcc
  1202.     shipped with the latest RedHat distributions.                    
  1203.   * Fixed the BeOS CSS decryption.
  1204.   * Fixed a few issues in IFO parsing.
  1205.   * Fixed XVideo video output.
  1206.   * Updated icons under Linux, BeOS, MacOS X.
  1207.  
  1208. * Wed Apr 11 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.70-1mdk
  1209. - version 0.2.70
  1210.  
  1211. * Thu Mar 22 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.63-1mdk
  1212. - version 0.2.63 : Bugfixes, bugfixes, and bugfixes again, a Gtk+ 
  1213.   interface for the Gnome-impaired, an even better DVD support
  1214.  
  1215. * Fri Feb 16 2001 Yves Duret <yduret@mandrakesoft.com> 0.2.61-1mdk
  1216. - new version for all the DVD fans (add MPEG1 support, direct DVD support, 
  1217.   DVD decryption, arbitrary, seeking in the stream, pause, fast forward 
  1218.   and slow motion, hardware YUV acceleration enhanced CSS support and a few 
  1219.   new interface features including drag'n'drop.
  1220. - first *real* public release (now under the GPL)
  1221.  
  1222. * Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.1.99i-2mdk
  1223. - Fix build and use right optimizations on PPC
  1224. - Enable SDL support
  1225. - Spec clean up
  1226.  
  1227. * Fri Jan  5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99i-1mdk
  1228. - 0.1.99i, rebuild
  1229.  
  1230. * Fri Aug 25 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99h-1mdk
  1231. - 0.1.99h
  1232.  
  1233. * Mon Jul 10 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.1.99c-1mdk
  1234. - first Mandrake package with help of Sam
  1235.